import request from "../request";



export function adminlist(url, params) {
    return request.get(url, { params })
}

export function setadmin(url, data) {
    return request({
        url,
        method: 'post',
        data
    })
}

export function deladmin(url, data) {
    return request({
        url,
        method: 'post',
        data
    })
}

export function addadmin(url, data) {
    return request({
        url,
        method: 'post',
        data
    })
}